package com.example.dakotanews.entity.relation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("blog_mark")
public class BlogMark {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer blogId;
    private Integer userId;
    private int supportIf;
    private LocalDateTime supportTime;
    private int oppositionIf;
    private int collectionIf;
    private LocalDateTime collectionTime;
    private int page_view = 1;
}
